import os
import getpathinfo

class ReadSaveData:
    def __init__(self):
        path = getpathinfo.get_path()
        self.head_img_path = os.path.join(path,"data","save_data")+"/"+"head_img_path.txt"
        self.order_id_path = os.path.join(path, 'data', 'save_data') + "/" + 'order_id.txt'

    def get_head_img_path(self):
        with open(self.head_img_path,"r",encoding="utf-8") as f:
            return f.read()

    def get_order_id(self):
        with open(self.order_id_path,"r",encoding="utf-8") as f:
            return f.read()

if __name__ == "__main__":
    print(ReadSaveData.get_head_img_path())